<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Vue.js</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <!-- vue-app是vue根容器 -->
    <div id="vue-app">
        <h1>{{ greet('vue') }}</h1>
        <p>Name: {{ name }}</p>
        <p>Job: {{ job }}</p>
        <a v-bind:href="website">博客</a>
        <!-- <a :href="website">博客</a> -->
        <!-- v-bind: 可以简写为: -->
        <input type="text" :value="name">
        <!-- 直接渲染为HTML -->
        <p v-html="websiteTag"></p>
    </div>
    <script src="app.js"></script>
</body>
</html>